<!doctype html>
<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>权限列表</title>
    <script type="text/javascript" src="__PUBLIC__/hdjs/jquery-1.11.3.min.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/hdjs/hdjs.css"/>
    <script type="text/javascript" src="__PUBLIC__/hdjs/hdjs.min.js"></script>
    <link href="__PUBLIC__/css/mine.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <div class="div_head">
        <span>
            <span style="float: left;">当前位置是：权限管理-》权限列表</span>
            <span style="float: right; margin-right: 8px; font-weight: bold;">
                <a style="text-decoration: none;" href="__CONTROLLER__/addAuth">【添加权限】</a>
            </span>
        </span>
        </div>
        <div style="font-size: 13px; margin: 10px 5px;padding:20px;">
            <table class="hd-table hd-table-list">
                <thead>
                    <tr style="font-weight: bold;">
                        <td>序号</td>
                        <td>权限名称</td>
                        <td>控制器名</td>
                        <td>方法名</td>
                        <td>全路径</td>
                        <td>权限等级</td>
                        <td class="hd-w80">是否为左菜单</td>
                        <td>排序</td>
                        <td>修改</td>
                    </tr>
                </thead>
                <tbody>
                    <volist name='list' id='vo'>
                    <tr>
                        <td>{$vo.auth_id}</td>
                        <td><b>{$vo.auth_name}</b></td>
                        <td>{$vo.auth_c}</td>
                        <td>{$vo.auth_a}</td>
                        <td>{$vo.auth_path}</td>
                        <td>{$vo.auth_level}</td>
                        <td>
                            <if condition="$vo['auth_menu'] eq 0 ">否<else />是</if>
                        </td>
                        <td>{$vo.auth_sort}</td>
                        <td><a href="{:U('updateAuth',array('auth_id'=>$vo['auth_id']))}">修改</a></td>
                    </tr>
					<notempty name="vo.son">
					<volist name='vo.son' id='v'>
					<tr>
                        <td>{$v.auth_id}</td>
                        <td>{$v.auth_name}</td>
                        <td>{$v.auth_c}</td>
                        <td>{$v.auth_a}</td>
                        <td>{$v.auth_path}</td>
                        <td>{$v.auth_level}</td>
                        <td>
                            <if condition="$v['auth_menu'] eq 0 ">否<else />是</if>
                        </td>
                        <td>{$v.auth_sort}</td>
                        <td><a href="{:U('updateAuth',array('auth_id'=>$v['auth_id']))}">修改</a></td>
                    </tr>
					</volist>
					</notempty>
                    </volist>
                </tbody>
            </table>
        </div>
    </body>
</html>